package conson.tech.manage.app.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * ClassName: AppThreeConfigVo
 * Description: 首页生活页第三层配置参数
 * Author: HXL
 * Date: 2020/4/24 4:33 下午
 * Version: 1.0
 */
@Data
@ApiModel("AppThreeConfigVo")
public class AppThreeConfigVo implements Serializable {

    @ApiModelProperty(value = "第三层ID",example = "第三层ID")
    private Long threeId;
    @NotBlank(message = "第三层标题名称不能为空")
    @ApiModelProperty(value = "第三层标题名称",example = "第三层标题名称")
    private String threeTitleName;
    @NotBlank(message = "第三层图片地址不能为空")
    @ApiModelProperty(name = "第三层图片地址",example = "第三层图片地址")
    private String threePictureUrl;
    @NotNull(message = "第三层排序不能为空")
    @ApiModelProperty(value = "第三层排序",example = "第三层排序")
    private Integer treeSort;
    @NotNull(message = "选择第二层ID不能为空")
    @ApiModelProperty(value = "选择第二层ID",example = "选择第二层ID")
    private Long threeGroupId;
    @NotNull(message = "链接类型不能为空")
    @ApiModelProperty(value = "链接类型 1 ID页 2 H5临时链接",example = "链接类型 1 ID页 2 H5临时链接")
    private Integer threeNavType;
    @NotBlank(message = "链接类型是1时不能为空")
    @ApiModelProperty(value = "ID页ID",example = "ID页ID")
    private String threeAppId;
    @NotBlank(message = "链接类型是2时不能为空")
    @ApiModelProperty(value = "iOS地址",example = "iOS地址")
    private String threeIosUrl;
    @NotBlank(message = "链接类型是2时不能为空")
    @ApiModelProperty(value = "android地址",example = "android地址")
    private String threeAndroidUrl;
}
